package jia;

public class jia {
	
	public static void main(String[] args) {
		
		double jia = 1;
		
		for(int n = 2; n < 500000000; n++){
			
			jia += 1.0 / n;
			
		}
		
		System.out.println(jia);
		
	}

}
